<% String role = (String)session.getAttribute("ROLE"); 
Long id = (Long)session.getAttribute("UserId"); %>
<div class="menu" id="menu">
	<ul>
		<li><a href="/index">Home</a></li>
		<li><a href="/timesheet">Timesheet</a></li>
		<%if("admin".equals(role)){%>
			<li><a href="/projectlist">Project management</a></li>
			<li><a href="/userlist">User Management</a></li>
		<%}%>
		<li><a href="/userworkhours">Reporting</a></li>
		<li><a href="/userdetail?id=<%=id%>">My account</a></li>
	</ul>
</div>